Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / PdfEnum<TEnum> Structure
Members

In This Topic
    PdfEnum<TEnum> Structure
    In This Topic
    Represents a PDF enumeration type.
    Object Model
    PdfEnum<TEnum> Structure
    Syntax
    'Declaration
     
    Public Structure PdfEnum(Of TEnum As {New, Struct}) 
       Inherits System.ValueType
    public struct PdfEnum<TEnum> : System.ValueType 
    where TEnum: new(), struct
    Type Parameters
    TEnum
    Remarks

    The PDF Specification defines many properties with values represented by a limited set of predefined values. Such values are stored as PDF name objects, which is very similar to enumerations in C#.

    But there are many PDF documents in which some of such properties have arbitrary custom values that are not defined in the PDF specification.

    GcPdf uses this struct when processing such values. Where possible, the value is converted to the underlying enumeration type TEnum, otherwise the original string value is preserved.

    Inheritance Hierarchy

    System.Object
       System.ValueType
          GrapeCity.Documents.Pdf.PdfEnum<TEnum>

    See Also